package com.threegroup.admin.dao;


import com.threegroup.admin.dto.AddressBookEntity;
import com.threegroup.admin.dto.ShoppingCartPageDTO;
import com.threegroup.admin.entity.ShoppingCartEntity;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShoppingCartEntityDao {

    int delete(Long ids);

    List<ShoppingCartEntity> queryAll(@Param("order") String order, @Param("orderField")String orderField);

    List<ShoppingCartEntity> selectByCartUserId(Long userId);
}